import { lazy } from "react";

const Main = lazy(() => import("../views/Main"));
const Excel = lazy(() => import("../views/Excel"));
const Qcode = lazy(() => import("../views/Qcode"));
const Editer = lazy(() => import("../views/Editer"));
const Code = lazy(() => import("../views/Code"));

export default [
	{
		path: "/",
		component: Main,
	},
	{
		path: "/excel",
		component: Excel,
	},
	{
		path: "/qcode",
		component: Qcode,
	},
	{
		path: "/editer",
		component: Editer,
	},
	{
		path: "/code",
		component: Code,
	},
	{
		path: "*",
		component: Main,
	},
];
